/*=============================================================================
#    The element-comm is a tentative program used to test our ideas.           
#                       Copyright (C)  bgao                                    
#
#     This program is free software; you can redistribute it and/or            
#      modify it under the terms of the GNU General Public License             
#     as published by the Free Software Foundation; either version 2           
#         of the License, or (at your option) any later version.               
#
#     This program is distributed in the hope that it will be useful,          
#    but WITHOUT ANY WARRANTY; without even the implied warranty of           
#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the            
#             GNU General Public License for more details.                    
#
#    You should have received a copy of the GNU General Public License        
#     along with this program; if not, write to the Free Software             
#      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,             
#                       MA  02110-1301, USA.                                  
#==============================================================================
# $Id$ 
#
# $Author$ 
#
# $Revision$ 
#
# $Date$ 
#
# Description: 
#
=============================================================================*/
#include    "rtos-wsn.h"

extern void thread1_entry(void);
extern void thread2_entry(void);
extern void thread3_entry(void);
extern void thread4_entry(void);

unsigned thread1_stack[REG_BYTES*200/sizeof(unsigned)];
unsigned thread2_stack[REG_BYTES*200/sizeof(unsigned)];
unsigned thread3_stack[REG_BYTES*200/sizeof(unsigned)];
unsigned thread4_stack[REG_BYTES*200/sizeof(unsigned)];

const struct wsn_thread_attr wsn_thread_attr_list[] = {
   { thread1_entry, "Thread 1", 3, sizeof(thread1_stack), thread1_stack },
   { thread2_entry, "Thread 2", 6, sizeof(thread2_stack), thread2_stack },
   { thread3_entry, "Thread 3", 2, sizeof(thread3_stack), thread3_stack },
   { thread4_entry, "Thread 4", 8, sizeof(thread4_stack), thread4_stack },
   { 0 }
};
